package com.qtenv.datasync.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
    * 大用户冻结数据
    * </p>
 *
 * @author CBL
 * @since 2022-08-03
 */
@Data
@TableName("dm_dyh_freeze")
@ApiModel(value = "DyhFreeze对象", description = "大用户冻结数据")
public class DyhFreeze implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableField("id")
    private String id;

    @ApiModelProperty("设备归属租户")
    @TableField("tenant_id")
    private String tenantId;

    @ApiModelProperty("层级id")
    @TableField("areaid")
    private String areaid;

    @ApiModelProperty("供水量")
    @TableField("flow_daily")
    private BigDecimal flowDaily;

    @ApiModelProperty("进水流量（m³）")
    @TableField("inlet_flow")
    private BigDecimal inletFlow;

    @ApiModelProperty("出水流量（m³）")
    @TableField("outlet_flow")
    private BigDecimal outletFlow;

    @ApiModelProperty("最小夜间流量")
    @TableField("mnf")
    private BigDecimal mnf;

    @ApiModelProperty("夜间流量")
    @TableField("night_flow")
    private BigDecimal nightFlow;

    @ApiModelProperty("冻结时间")
    @TableField("freezetime")
    private String freezetime;

    @ApiModelProperty("冻结类型，时：hour，日：day，周：week，月：month，年：year")
    @TableField("frozen_type")
    private String frozenType;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("账期")
    @TableField("paydate")
    private String paydate;

    @ApiModelProperty("供水量环比")
    @TableField("hb")
    private String hb;


}